package com.sky.mapper;

import com.sky.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 订单细节表
 */
@Mapper
public interface OrderDetailMapper {
    /**
     * 批量插入订单细节
     * @param orderDetailList
     */
    void BatchInsert(List<OrderDetail> orderDetailList);

    /**
     * 根据订单id查询订单明细
     * @param
     * @return
     */
    List<OrderDetail> selectOrderDetailByorderId(Long orderId);
}
